﻿using FingerTip.Framework.Domain;
using System;
using System.Collections.Generic;
using System.Text;

namespace FingerTip.Domain.Sites.Rules
{
    public interface ISiteRules:IRules<Site>
    {
        bool DoesSiteExist(Guid id);
        bool IsSiteIdUnique(Guid id);
        bool IsSiteNameValid(string name);
        bool IsSiteNameUnique(string name);
        bool IsSiteUrlValid(string url);
        bool IsSiteUrlUnique(string url, Guid siteId = new Guid());
        bool IsPageSiteAsHomePage(Guid siteId, Guid pageId);
    }
}
